import { cockpitWhiteRoutes } from './modules/cockpit'
import { eventWhiteRoutes } from './modules/event'
import { gridmapRoutes } from './modules/gridmap'
import { inspectVisitWhiteRoutes } from './modules/inspectVisit'
import { learnTestWhiteRoutes } from './modules/learnTest'
import loginRoutes from './modules/login'
import myRoutes from './modules/my'
import { noticeWhiteRoutes } from './modules/notice'
import otherRoutes from './modules/other'
import { partyWhiteRoutes } from './modules/partyBuilding'
import { residentWhiteRoutes } from './modules/resident'
import { routineWhiteRoutes } from './modules/routine'
import { CampusSecurityRoutes } from './modules/campusSecurity'
import { PropertyManagementRoutes } from './modules/propertyManagement'
import { ProtectForestsRoutes } from './modules/protectForests'
import { SiteDataRoutes } from './modules/siteData'
import { ProtectRoadRoutes } from './modules/protectRoad'
import { ProtectRiverRoutes } from './modules/protectRiver'
import { ProtectSiteRoutes } from './modules/protectSite'
const loginList = loginRoutes.map(o => o.path)
const myList = myRoutes.map(o => o.path)
const otherList = otherRoutes.map(o => o.path)
const cockpitWhiteList = cockpitWhiteRoutes.map(o => o.path)
const eventWhiteList = eventWhiteRoutes.map(o => o.path)
const inspectVisitWhiteList = inspectVisitWhiteRoutes.map(o => o.path)
const learnTestWhiteList = learnTestWhiteRoutes.map(o => o.path)
const noticeWhiteList = noticeWhiteRoutes.map(o => o.path)
const residentWhiteList = residentWhiteRoutes.map(o => o.path)
const routineWhiteList = routineWhiteRoutes.map(o => o.path)
const partyWhiteList = partyWhiteRoutes.map(o => o.path)
const gridmapWhiteList = gridmapRoutes.map(o => o.path)
const CampusSecurityList = CampusSecurityRoutes.map(o => o.path)
const PropertyManagementList = PropertyManagementRoutes.map(o => o.path)
const ProtectForestsList = ProtectForestsRoutes.map(o => o.path)
const SiteDataRoutesList = SiteDataRoutes.map(o => o.path)
const ProtectRoadRoutesList = ProtectRoadRoutes.map(o => o.path)
const ProtectRiverRoutesList = ProtectRiverRoutes.map(o => o.path)
const ProtectSiteRoutesList = ProtectSiteRoutes.map(o => o.path)
export default [
  '/cockpit/home',
  '/home',
  '/my',
  ...loginList,
  ...myList,
  ...otherList,
  ...cockpitWhiteList,
  ...eventWhiteList,
  ...inspectVisitWhiteList,
  ...learnTestWhiteList,
  ...noticeWhiteList,
  ...residentWhiteList,
  ...routineWhiteList,
  ...partyWhiteList,
  ...gridmapWhiteList,
  ...CampusSecurityList,
  ...PropertyManagementList,
  ...ProtectForestsList,
  ...SiteDataRoutesList,
  ...ProtectRoadRoutesList,
  ...ProtectRiverRoutesList,
  ...ProtectSiteRoutesList
]
